package cn.ecms.service.impl.customermanager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ecms.mapper.customermanager.CustomerLabelMapper;
import cn.ecms.pojo.CustomerLabel;
import cn.ecms.service.customermanager.CustomerLabelService;

@Service
public class CustomerLabelServiceImpl implements CustomerLabelService {
	@Autowired
	private CustomerLabelMapper customerLabelMapper;
	
	@Override
	public int deleteByPrimaryKey(String customerlabelId) {
		return customerLabelMapper.deleteByPrimaryKey(customerlabelId);
	}

	@Override
	public int insert(CustomerLabel record) {
		return customerLabelMapper.insert(record);
	}

	@Override
	public int insertSelective(CustomerLabel record) {
		return customerLabelMapper.insertSelective(record);
	}

	@Override
	public CustomerLabel selectByPrimaryKey(String customerlabelId) {
		return customerLabelMapper.selectByPrimaryKey(customerlabelId);
	}

	@Override
	public int updateByPrimaryKeySelective(CustomerLabel record) {
		return customerLabelMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(CustomerLabel record) {
		return customerLabelMapper.updateByPrimaryKey(record);
	}

}
